package com.platform.api.film.model;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableName;

import javax.validation.constraints.NotNull;


/**
 * 用户播放记录
 *
 * @author guoshao
 * @email 2549789059@qq.com
 * @date 2023-09-09 11:08:06
 */
@Data
@TableName("tz_film_play_record")
public class FilmPlayRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;
    /**
     * 电影ID
     */
    private Long filmId;
    /**
     * 资源ID
     */
    @NotNull(message = "资源ID不能为空")
    private Long resourceId;
    /**
     * 用户ID
     */
    private String userId;
    /**
     *
     */
    private Date createTime;
    /**
     *
     */
    private Date updateTime;

    /**
     * 最后时间
     */
    private Date lastTime;


}
